package by.cooker.persdic;

/**
 * @author cooker
 */
public class Word {
	private String text;
	private String transcription;
	private String[] translate;
	private int wordId;

	public Word() {
	}

	public Word(int wordId, String text, String transcription,
			String[] translate) {
		this.text = text;
		this.transcription = transcription;
		this.translate = translate;
	}

	public String getText() {
		return text;
	}

	public String getTranscription() {
		return transcription;
	}

	public String[] getTranslate() {
		return translate;
	}

	public int getWordId() {
		return wordId;
	}

	public void setText(String text) {
		this.text = text;
	}

	public void setTranscription(String transcription) {
		this.transcription = transcription;
	}

	public void setTranslate(String[] translate) {
		this.translate = translate;
	}

	public void setWordId(int wordId) {
		this.wordId = wordId;
	}

	@Override
	public String toString() {
		return "[wordid=" + wordId + ", text=" + text + ", transcription="
				+ transcription + ", translate" + translate + "]";
	}

}
